-
Home
-
Travelpayouts: All Travel Brands in One Place
-
1.1.20
-
Code
-
Classes
- WidgetModel
Total Complexity |
44 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
306 |
Lines of code |
164 |
Logical lines of code |
59 |
Comment lines |
49 |
Methods |
29 |
Properties |
13 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_option_marker() |
S |
65 |
3 |
10 |
add_pixels() |
S |
71 |
3 |
5 |
render_script() |
S |
56 |
1 |
19 |
render_iframe() |
S |
57 |
1 |
17 |
get_section_data() |
S |
80 |
2 |
3 |
getDebugData() |
S |
66 |
2 |
9 |
get_marker() |
S |
65 |
2 |
10 |
bool_to_string() |
S |
75 |
2 |
5 |
get_currency() |
S |
71 |
2 |
6 |
get_widget_id() |
S |
80 |
2 |
3 |
getWhiteLabel() |
S |
71 |
2 |
6 |
get_flights_white_label() |
S |
71 |
2 |
6 |
get_locale() |
S |
72 |
2 |
6 |
getDebugDataTemplate() |
S |
70 |
2 |
6 |
get_hotels_white_label() |
S |
71 |
2 |
6 |
set_flights_white_label() |
S |
81 |
1 |
3 |
get_render_attributes() |
S |
76 |
1 |
4 |
string_to_bool() |
S |
81 |
1 |
3 |
get_settings_data() |
S |
79 |
1 |
3 |
get_account_data() |
S |
79 |
1 |
3 |
set_hotels_white_label() |
S |
81 |
1 |
3 |
set_host() |
S |
82 |
1 |
3 |
set_widget_url() |
S |
81 |
1 |
3 |
get_widget_url() |
S |
82 |
1 |
3 |
setSection() |
S |
100 |
1 |
0 |
getDebug() |
S |
82 |
1 |
3 |
setDebug() |
S |
79 |
1 |
3 |
set_currency() |
S |
81 |
1 |
3 |
render_errors() |
S |
64 |
1 |
10 |